<!DOCTYPE html>
<html lang="en">
<!-- This page is inspired by the homepage of Jon Phillips (https://jonphillips.ca/). Thank you! -->
<head>
    <title>iLtc - Technology and I</title>
    <link href="https://use.fontawesome.com/releases/v5.11.1/css/all.css" rel="stylesheet">
    <link rel="stylesheet" href="css/new.css" />

    <meta name="google-site-verification" content="FJSxEi8omqcpTPPtbMFM4b5YJVSnPH2ULZGKfNxbAeA" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body>
<main class="container">
    <section class="content">
        <h1>iLtc</h1>
        <p></p>
    </section>
</main>

<footer>
    <!--<a class="resume" href="./resume.pdf" target="_blank"><i class="fas fa-file-alt"></i></a>-->
    <a class="linkedin" href="https://www.linkedin.com/in/tianchengluo/" target="_blank"><i class="fab fa-linkedin-in"></i></a>
    <a class="github" href="https://github.com/iLtc" target="_blank"><i class="fab fa-github"></i></a>
    <!--<a class="calendar" href="https://free.iltc.app/" target="_blank"><i class="far fa-calendar-alt"></i></a>-->
    <a class="map" href="https://maps.iltc.app/" target="_blank"><i class="fas fa-globe-americas"></i></a>
    <a class="book" href="https://lists.iltc.app/#/books" target="_blank"><i class="fas fa-book-open"></i></a>
    <a class="game" href="https://lists.iltc.app/#/games" target="_blank"><i class="fas fa-gamepad"></i></a>
    <a class="blog" href="https://blog.iltc.io/" target="_blank"><i class="fas fa-rss"></i></a>
</footer>

<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script>
    var text_list = [
        "Hello World",
        "Technology and I",
        "PHP Lover",
        "Watermelon Lover",
        "Ruby on Rails",
        "Python and Flask",
        "Swift and SwiftUI",
        "Amazon Web Services",
        "Heroku",
        "WordPress"
    ];

    const showLetter = function (message, index, interval) {
        if (index < message.length) {
            $("p").append(message[index++]);
            setTimeout(function () {
                showLetter(message, index, interval);
            }, interval);
        } else {
            setTimeout(function () {
                showText($("p").text());
            }, 5000);
        }
    };

    const showText = function (old_text) {
        var new_text;

        while (true) {
            new_text = text_list[Math.floor(Math.random()*text_list.length)];
            if (new_text !== old_text) break;
        }

        $("p").text("");
        showLetter(new_text, 0, 100);
    };

    $(function () {
        showText(null);
    });
</script>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-108881767-3"></script>
<script>
    window.dataLayer = window.dataLayer || [];
    function gtag(){dataLayer.push(arguments);}
    gtag('js', new Date());

    gtag('config', 'UA-108881767-3');
</script>

</body>
</html>
